import { NgModule } from '@angular/core';
import { BrowserModule } from  '@angular/platform-browser';
import { FormsModule }   from '@angular/forms';
/* Common Module */
import { CommonModule } from '../common/common.module';

/* Home Component */
import { viewDataComponent } from './viewData.compoent';

/* Game Service */
import { ViewDataService } from '../../service/viewData.service';



@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        CommonModule
    ],
    providers: [
        ViewDataService
    ],
    declarations: [
        viewDataComponent // 主组件
    ],
    exports: [ viewDataComponent ]
})
export class viewDataModule {

    constructor() {
        console.log('Module: "viewDataModule" Loading completed');
    }

}